import request from '@/utils/request'

// 查询gatewayZY列表
export function listGatewayZY(query) {
  return request({
    url: '/system/gatewayZY/list',
    method: 'get',
    params: query
  })
}

// 查询gatewayZY详细
export function getGatewayZY(id) {
  return request({
    url: '/system/gatewayZY/' + id,
    method: 'get'
  })
}

// 新增gatewayZY
export function addGatewayZY(data) {
  return request({
    url: '/system/gatewayZY',
    method: 'post',
    data: data
  })
}

// 修改gatewayZY
export function updateGatewayZY(data) {
  return request({
    url: '/system/gatewayZY',
    method: 'put',
    data: data
  })
}

// 删除gatewayZY
export function delGatewayZY(id) {
  return request({
    url: '/system/gatewayZY/' + id,
    method: 'delete'
  })
}

// 导出gatewayZY
export function exportGatewayZY(query) {
  return request({
    url: '/system/gatewayZY/export',
    method: 'get',
    params: query
  })
}
